/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: zhongyisheng
 * Date: 2024-07-10
 * Time: 9:28
 */
public class Test {
    public void clear() {}
    ListNode cur = head;
    ListNode curN =cur.next;
    while(cur != Null){
        curN =cur.next;
        cur.next = null;
        cur.prev = null;
        cur = curN;
    }
    head = null;

}
